import Vue from "vue";
import App from "./App.vue";

import router from "@/router/index";
import TypeNav from "@/components/TypeNav";
import store from "@/store";
Vue.component("TypeNav", TypeNav);
Vue.config.productionTip = false;

import "@/mock";

import Swiper from "@/components/Swiper";
Vue.component("Swiper", Swiper);

new Vue({
  render: (h) => h(App),
  router,
  store,
  beforeCreate() {
    Vue.prototype.$bus = this;
  },
}).$mount("#app");
